package com.tinyshardingjdbc.tinyshardingjdbc.shardingasync.dao;


import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


public interface ShardingAsyncDao {


    @Select("${sql}")
    Long selectCount(@Param("sql") String sql);


    @Select("${sql}")
    List<Map<String, Object>> select(@Param("sql") String sql);
}
